package com.tengju.bff.interfaces.manage.crm.user.vo;

import com.tengju.user.application.archives.dto.PageQueryDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "CrmMarketAnalysisMarketRateQueryForm", description = "市场分析分页查询对象")
public class CrmMarketAnalysisMarketRateQueryForm extends PageQueryDTO {

    @NotNull(message = "用户idCode不能为空")
    @Min(value = 1)
    @ApiModelProperty(value = "用户ID")
    private Long idCode;

    @NotNull(message = "月份不能为空")
    @Min(value = 1)
    @ApiModelProperty(value = "月份")
    private Integer month;
}
